BackgroundLayer

The background color or pattern of the map.

See also

<a href="https://www.mapbox.com/mapbox-gl-style-spec/#layers-background">The online documentation</a>

Constructors

Link copied to clipboard
open fun BackgroundLayer(layerId: String)
Creates a BackgroundLayer.

Functions

Link copied to clipboard
Get the BackgroundColor property
Link copied to clipboard
The color with which the background will be drawn.
Link copied to clipboard
Get the BackgroundColor property transition options
Link copied to clipboard
Get the BackgroundOpacity property
Link copied to clipboard
Get the BackgroundOpacity property transition options
Link copied to clipboard
Get the BackgroundPattern property
Link copied to clipboard
Get the BackgroundPattern property transition options
Link copied to clipboard
open fun getId(): String
Link copied to clipboard
open fun getMaxZoom(): Float
Link copied to clipboard
open fun getMinZoom(): Float
Link copied to clipboard
Link copied to clipboard
open fun isDetached(): Boolean
Link copied to clipboard
Set the BackgroundColor property transition options
Link copied to clipboard
Set the BackgroundOpacity property transition options
Link copied to clipboard
Set the BackgroundPattern property transition options
Link copied to clipboard
open fun setDetached()
Link copied to clipboard
open fun setMaxZoom(zoom: Float)
Link copied to clipboard
open fun setMinZoom(zoom: Float)
Link copied to clipboard
open fun setProperties(@NonNull properties: Array<PropertyValue<out Any>>)
Link copied to clipboard
Set a property or properties.

Properties

Link copied to clipboard
open val nativePtr: Long